<template>
  <SViewSplit direction="vertical" :default="60" :draggable="false">
    <template #top>
      <Navbar />
    </template>
    <template #bottom>
      <SViewSplit ref="splitRef">
        <template #left>
          <Menu />
        </template>
        <template #right>
          <RouterView />
        </template>
      </SViewSplit>
    </template>
  </SViewSplit>
</template>

<script lang="ts" setup>
import { SViewSplit } from '@sediment/libs'
import Menu from '@/Layout/menu/index.vue'
import Navbar from '@/Layout/navbar/index.vue'

const splitRef = shallowRef()

</script>

<style lang="less">
.view-box-class {
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  margin-left: 30px;
  margin-top: 30px;
}
</style>
